<template>
<view class="pen_item">
    <view class="penItem_center">
        <text class="pen_text">无任何绑定设备</text>
    </view>
    <button @click="emit('add')" class="connect_btn"> + 添加</button>
</view>
</template>
<script setup>
const emit = defineEmits(['add'])
</script>
<style>
  .pen_item {
    width: 100%;
    height: 200px;
    padding: 40px 32px;
    box-sizing: border-box;
    border-radius: 20px;
    background-color: #FFF;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    
  }
  .pen_text {
    width: 400px;
    font-size: 40px;
    font-weight: bold;
    text-align: left;
    display: inline-block;
  }

  .connect_btn {
    width: 148px;
    height: 80px;
    line-height: 80px;
    font-size: 30px;
    color: #FFF;
    background-color: #956F31;
    border-radius: 50px;
    display: inline-block;
    border: 0
  }

</style>